package com.mcflies.aotoPartsManager.dao;

import java.util.List;

import com.mcflies.aotoPartsManager.pojo.CustomerArea;

/**
 * 
 * CustomerAreaDAO.java
 * 
 * @describe：AutoParts项目的客户地域信息的操作数据库的DAO接口
 * @Copyright(c) 2012-2024 Study,mcfly
 * @author mcfly_jun
 */
public interface CustomerAreaDAO {
	/**
	 * @describe：新增客户地域信息
	 * @param area
	 * @throws Exception
	 */
	public CustomerArea addCustomerArea(CustomerArea area) throws Exception;

	/**
	 * @describe：根据条件统计客户地域的个数
	 * @param area
	 *            :area中封装条件
	 * @return
	 * @throws Exception
	 */
	public Long countCustomerArea() throws Exception;

	/**
	 * @describe：根据条件获取客户地域列表
	 * @param start
	 * @param limit
	 * @return
	 * @throws Exception
	 */
	public List<CustomerArea> loadCustomerArea(int start, int limit) throws Exception;
}
